<?php
if (!defined('SITE_PATH')) exit();
/*
$db_prefix = C('DB_PREFIX');

$sql = array(
	// vote数据
	"DROP TABLE IF EXISTS `{$db_prefix}brands_agent`;",
	"DROP TABLE IF EXISTS `{$db_prefix}brands_info`;",
	"DROP TABLE IF EXISTS `{$db_prefix}brands_owner`;",
	// ts_system_data数据
	"DELETE FROM `{$db_prefix}system_data` WHERE `list` = 'brands'",
	// 模板数据
	"DELETE FROM `{$db_prefix}template` WHERE `name` = 'brands_create_weibo' OR `name` = 'brands_share_weibo';",
	// 积分规则
	"DELETE FROM `{$db_prefix}credit_setting` WHERE `type` = 'brands';",
);
foreach ($sql as $v) {
	$res = M('')->execute($v);
}
*/